<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2017/9/17
 * Time: 8:54
 */
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="ordisordBox goodsli" goodname="<?=$model['name']?>" style="position:relative;">

    <div class="ordisord">
        <ul class="ordisordet">
            <li><img src="<?= Yii::$app->imagemanager->getImagePath($model['image_id'], '100px', '85px',true)?>"></li>
            <div>
                <li>
                    <ul class="ordisordC">
                        <li><h3><?=$model['name']?></h3></li>
                        <li><span>月销15份</span></li>
                        <li><b>￥<?=$model['price'] / 100;?></b> / <?=Yii::$app->params['unit'][$model['unit']];?><!--<del>10元</del>--></li>
                    </ul>
                </li>
            </div>
            <li style="position:absolute;top:0px; right:25px;">
                <ul class="ordisordR">
                    <div class="righ_l_b_btn">
                        <div class="righ_l_b_btn_moren">
                            <li class="addCart" data-href="<?=Url::toRoute(['cart/add', 'gid' => $model['id'], 'num' => 1])?>"><!--<i class="ordenabotR"></i>--><button class="btn btn-info btn-sm">购买</button></li>
                        </div>
                        <div class="righ_l_b_btn_hover" style="display:none;">
							<span class="right_l_btn_left">
								<li><i class="ordenabotL"></i></li>
							</span>
                            <li><input class="right_l_btn_nub"></li>
                            <span class="right_l_btn_right">
								 <li><i class="ordenabotR"></i></li>
							</span>
                        </div>
                    </div>
                </ul>
            </li>
        </ul>
    </div>

</div>
